package com.aiyun.websocket.tiowebsocketdemo;

import com.aiyun.websocket.tiowebsocketdemo.config.TioProperties;
import com.aiyun.websocket.tiowebsocketdemo.core.annotation.EnableTioWebsocket;
import org.tio.core.Tio;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

@SpringBootApplication
@EnableConfigurationProperties(value = TioProperties.class)
@EnableTioWebsocket
public class TioWebsocketDemoApplication {

	public static void main(String[] args) {
		SpringApplication.run(TioWebsocketDemoApplication.class, args);
	}

}
